/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.library.service.impl;

import cn.hutool.core.io.FileUtil;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.util.IdUtil;
import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.library.common.base.ApiResult;
import com.library.entity.CarouselMapEntity;
import com.library.mapper.CarouselMapMapper;
import com.library.service.CarouselMapService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;

/**
 * 轮播图
 *
 * @author pig
 * @date 2023-10-18 14:22:46
 */
@Slf4j
@Service
@AllArgsConstructor
public class CarouselMapServiceImpl extends ServiceImpl<CarouselMapMapper, CarouselMapEntity> implements CarouselMapService {


    @Override
    public ApiResult uploadFile(MultipartFile file) {
        return null;
    }

    @Override
    public void getFile(String bucket, String fileName, HttpServletResponse response) {

    }

    @Override
    public String getPreviewUrl(String fileName, String bucketName) {
        return null;
    }
}
